package test.委托和代理

class SmallHeadFather:IWashBowl by BigHeadSon{
    override fun washing() {
        println("我是大头爸爸")
        BigHeadSon.washing()
        println("我是看这儿子把碗洗好了")
    }
}